
emptyList = []
print(emptyList)

emptyList.append("David")
print(emptyList)

emptyList.append("Mary")
print(emptyList)

emptyList.append(12)
print(emptyList)

print(emptyList[0:1])
print(emptyList[0:-1])

emptyList.extend(["tuliang", "Mike", 23])
print(emptyList)

emptyList.insert(0, "Hello")
print(emptyList)

emptyList.remove(23)
del emptyList[2]
print(emptyList)

item = emptyList.pop()
print(item)
print(emptyList)

a = "tuliang"
if a in emptyList :
    print("%s in emptyList" %a)

else :
    print("%s not in emptyList" %a)